package eerbaar.shared.persist;

import eerbaar.shared.tree.INode;

public interface ISaver<T> {

    T getTarget();

    Class<T> getRegistertedInterface();

    ISaver<?>[] getSavableChildren();

    String getSavableName();

    boolean isAssignableFrom(ISaver<?> persist);

    void saveAttributes(INode node);

    void setTarget(T obj);

}
